// 轮播图的 reducer
export default function swiperReducer(oldState = [], action) {
  switch (action.type) {
    case 'GET_SWIPER':
      return [...action.payload]
    default:
      return oldState
  }
}
